projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86c5f2d
)
macos: mark region as unlikely
author
Christian Hergert
<chergert@redhat.com>
Mon, 8 Feb 2021 17:51:58 +0000
(09:51 -0800)
committer
Christian Hergert
<chergert@redhat.com>
Mon, 8 Feb 2021 19:29:56 +0000
(11:29 -0800)
gdk/macos/gdkmacosglcontext.c
patch
|
blob
|
history
diff --git
a/gdk/macos/gdkmacosglcontext.c
b/gdk/macos/gdkmacosglcontext.c
index 2cd68e31d47af0de6126e4943bd76f3f75970908..8dd6bc2e005c736dfb6ac86decc44d9b34cd8f28 100644
(file)
--- a/
gdk/macos/gdkmacosglcontext.c
+++ b/
gdk/macos/gdkmacosglcontext.c
@@
-136,7
+136,7
@@
ensure_gl_view (GdkMacosGLContext *self)
nsview = _gdk_macos_surface_get_view (surface);
nswindow = _gdk_macos_surface_get_native (surface);
- if (!GDK_IS_MACOS_GL_VIEW (nsview))
+ if
G_UNLIKELY
(!GDK_IS_MACOS_GL_VIEW (nsview))
{
NSRect frame;